package cn.dliyy.staff.service;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.dliyy.base.service.CommonService;
import cn.dliyy.staff.bean.UStaff;

@Service
public class UStaffService extends CommonService {
  public List<Object> getList(String name){
    String sql=super.hql.getListHQL(UStaff.class)+" where name like '"+name+"%'";
    return super.entityDao.createQuery(sql);
  }

}
